package com.fastloan.mgt.product.temp.model.vo;

import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.List;

/**
 * @author chenkai
 *         createTime 2017-11-2017/11/7 10:48
 */
public class DefTempVO {
    @TreeId
    private Integer id;
    @TreeParentId
    private Integer parentId;
    @TreeChild
    private List<DefTempVO> defTempVOS;
    private Integer code;
    private String name;
    /**
     * 1:文本2:数字3:单选4:多选5:日期
     */
    private Integer inputType;
    /**
     * 1:客户2:客户经理
     */
    private Integer tempType;
    /**
     *
     */
    private String label;
    /**
     *
     */
    private String optionValue;

    /**
     * 产品id
     */
    private String productId;
    /**
     * 选项id
     */
    private Integer tempId;
    /**
     * 是否为必选项( 0 否, 1 是
     */
    private Integer whetherMust;

    /**
     * 类型( 0 客户, 1客户经理
     */
    private Integer type;

    private String experimental;

    private String rightMsg;

    public String getExperimental() {
        return experimental;
    }

    public void setExperimental(String experimental) {
        this.experimental = experimental;
    }

    public String getRightMsg() {
        return rightMsg;
    }

    public void setRightMsg(String rightMsg) {
        this.rightMsg = rightMsg;
    }

    private boolean ifSave = false;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<DefTempVO> getDefTempVOS() {
        return defTempVOS;
    }

    public void setDefTempVOS(List<DefTempVO> defTempVOS) {
        this.defTempVOS = defTempVOS;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getInputType() {
        return inputType;
    }

    public void setInputType(Integer inputType) {
        this.inputType = inputType;
    }

    public Integer getTempType() {
        return tempType;
    }

    public void setTempType(Integer tempType) {
        this.tempType = tempType;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getOptionValue() {
        return optionValue;
    }

    public void setOptionValue(String optionValue) {
        this.optionValue = optionValue;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getTempId() {
        return tempId;
    }

    public void setTempId(Integer tempId) {
        this.tempId = tempId;
    }

    public Integer getWhetherMust() {
        return whetherMust;
    }

    public void setWhetherMust(Integer whetherMust) {
        this.whetherMust = whetherMust;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public boolean isIfSave() {
        return ifSave;
    }

    public void setIfSave(boolean ifSave) {
        this.ifSave = ifSave;
    }
}
